package com.flower.mapper;

import com.flower.model.dto.LoginDto;
import com.flower.model.entity.Login;
import com.flower.model.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName UserMapper
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/10 16:18
 *@Version 1.0
 */
@Mapper
public interface UserMapper {
    /**
     * 用户登录
     *
     * @param loginDto
     * @return
     */
    Login login(LoginDto loginDto);

    List<SysMenu> getAllMenu();

}
